package com.orange.eureka.orangeeureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @EnableEurekaServer来建立其他应用程序可以与之交谈的注册表。
 */
@EnableEurekaServer
@SpringBootApplication
public class OrangeEurekaApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrangeEurekaApplication.class, args);
    }
}
